﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FeaturesBlog.Models.Interfaces
{
    public interface ICommentsRepository
    {
        Comment GetComment(decimal commentId);
        
        IEnumerable<Comment> GetCommentsByPostId(decimal postId);
       
        void AddComment(Comment c);
        
        void DeleteComment(decimal commentId);
        
        int GetCommentCountByPostId(decimal postId);
        
    }
}
